package com.zen.payserver.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
	protected static final  Log logger = LogFactory.getLog(HelloController.class);
//	protected static final Logger logger = Logger.getLogger(HelloController.class);
	@RequestMapping("/hello")
	public String hello() {
		logger.debug("hello debug");
		logger.info("hello info");
		logger.error("hello error");
		return "Hello Spring Boot!";
	}

}
